<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./style.css">
</head>

<body>
  <div class="box">
    <div id="wrap">
      <input type="radio" name="slider" id="first">
      <input type="radio" name="slider" id="second">
      <input type="radio" name="slider" id="third">
      <ul id="slider">
        <li><img src="../img/1.jpg" alt=""></li>
        <li><img src="../img/2.jpg" alt=""></li>
        <li><img src="../img/3.jpg" alt=""></li>
      </ul>
    </div>
    <div id="opts">
      <label for="first">1</label>
      <label for="second">2</label>
      <label for="third">3</label>
    </div>
  </div>
</body>
</body>

</html>